home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 2554 < prev    next >
Encoding:
Text File  |  1996-08-06  |  1.2 KB  |  47 lines

  1. Newsgroups: comp.lang.c++
  2. Path: news2.new-york.net!not-for-mail
  3. From: Daniel Oppenheimer <daniel@yoga.com>
  4. Subject: Re: Java Compiler
  5. Content-Type: text/plain; charset=us-ascii
  6. X-Nntp-Posting-User: (Unauthenticated)
  7. Content-Transfer-Encoding: 7bit
  8. Message-ID: <30FE3EDA.1AA3@yoga.com>
  9. References: <30FD6D58.B3B@gate.net>
  10. X-Mailer: Mozilla 2.0b5 (WinNT; I)
  11. Mime-Version: 1.0
  12. X-Nntp-Posting-Host: 140.186.69.3
  13. Date: Thu, 18 Jan 1996 12:36:42 GMT
  14.  
  15. Hal Cline wrote:
  16. > Hello,
  17. > I am trying to compile some java script but am having a problem with
  18. > javac.
  19. > The steps I take are:
  20. > 1)I launch DOS from Win95
  21. > 2)go the javac.exe in the subdirectory- e:\Java\hotjava\bin
  22. > 3)launch javac.exe
  23. > 4)I am getting the following message:
  24. > use: javac [-g] [-0] [-debug] [-depend] [-nowarn] [-verbose] [-classpath
  25. > path] [-nowrite] [-d dir] file.java...
  26. > Does this make any sense to anyone?
  27. > Please advise and email me at  winfield@gate.net
  28. > Sincerely,
  29. > Hal Cline
  30.  
  31. Hal
  32.  
  33. When you call javac you must call it with the file containing 
  34. your source code as an argument.  The syntax is javac 
  35. filename.java.  Things like [-g] are compiler switches.  These 
  36. are documented at http://java.sun.com.
  37.  
  38. Dan
  39.